package model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.*;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Getter
@Setter
@ContentRowHeight(15)
@HeadRowHeight(30)  //指定Excel中内容行和表头行的高度
public class SimilarityOutEntity {

//判定结果
    @ColumnWidth(15) //指定表中的列宽
    //设置表头的内容和位置
    @ExcelProperty(value = "判定结果", index = 0)
    private String judgeResult;

// 文件名1
    @ColumnWidth(25)
    @ExcelProperty(value = "文件名1", index = 1)
    private String leftDocName;

  // 文件名2
    @ColumnWidth(25)
    @ExcelProperty(value = "文件名2", index = 2)
    private String rightDocName;
    
// jaccard相似度
    @ColumnWidth(10)
    @ExcelProperty(value = "jaccard相似度", index = 3)
    private String jaccardSim;
    
//余弦相似度
    @ColumnWidth(10)
    @ExcelProperty(value = "余弦相似度", index = 4)
    private String conSim;

//加权相似度
    @ColumnWidth(10)
    @ExcelProperty(value = "加权相似度", index = 5)
    private String weightedSim;
    
// 加权相似度数值型
    @ExcelIgnore // 应当被忽略
    private Double weightedSimDouble;
    

}
